export namespace SysRes {
  //菜单管理 树状查询
  export interface MenuTree {
    id: number
    name: string
    pid: number
    sort: number
    path: string
    component: string
    type: number
    status: number
    perms: string
    icon: string
    isHide: boolean
    isFull: boolean
    isAffix: boolean
    isKeepAlive: boolean
    createBy: string
    createTime: string
    updateBy: string
    updateTime: string
    remark: string
    children: MenuTree[]
  }

  // 用户管理 条件查询分页
  export interface UserPageList {
    id: number
    account: string
    name: string
    siteId: number
    phone: string
    email: string
    sex: string
    imgPath: string
    password: string
    status: string
    delFlag: boolean
    loginDate?: any
    createBy: string
    createTime: string
    updateBy: string
    updateTime: string
    remark: string
    roleId: number
    type: string
    beginTime?: any
    endTime?: any
  }

  // 用户管理 下拉菜单
  export interface UserSelect {
    id: number
    account: string
    name: string
    roleId: number
    deptId: number
    phone: string
    email: string
    sex: string
    imgPath: string
    password?: any
    status: string
    delFlag: boolean
    loginDate: string
    createBy: string
    createTime: string
    updateBy: string
    updateTime: string
    remark: string
    type: string
    beginTime?: any
    endTime?: any
  }

  // 角色管理  条件查询分页
  export interface RolePageList {
    id: number
    name: string
    sort: number
    scope: number
    status: number
    delFlag: boolean
    createBy: string
    createTime: string
    updateBy: string
    updateTime: string
    remark: string
    menuIds?: any
    deptIds?: any
  }

  // 日志管理

  //操作日志条件查询分页
  export interface LogPageList {
    id: number
    uid?: any
    plat: string
    module: string
    op: string
    ip: string
    path?: any
    request?: any
    response?: any
    result: number
    costTime: number
    dateline: string
  }
  export interface LoginLogPageList {
    id?: number
    account: string
    ip: string
    browser: string
    os: string
    result: number
    msg: string
    loginTime: string
  }
  // 日志管理 操作日志查看详情
  export interface LogDetail {
    id: number
    uid: string
    plat: string
    module: string
    op: string
    ip: string
    request: string
    response: string
    result: number
    dateline: string
    errorMsg?: any
    costTime: number
    path: string
  }
}
